
FROM centos:centos7 AS build
WORKDIR /home
define(`BUILD_LINKAGE',shared)dnl

include(build-tools.m4)
include(libogg.m4)
include(libvorbis.m4)
ifelse(defn(`BUILD_MP3LAME'),`ON',`include(libmp3lame.m4)')
ifelse(defn(`BUILD_FDKAAC'),`ON',`include(libfdk-aac.m4)')
include(libopus.m4)
include(libvpx.m4)
include(libx264.m4)
include(libx265.m4)
include(dav1d.m4)
include(svt-hevc.m4)
include(svt-av1.m4)
include(svt-vp9.m4)
include(gmmlib.m4)
include(libdrm.m4)
include(libva.m4)
include(libva-utils.m4)
include(media-driver.m4)
include(media-sdk.m4)
include(opencl.m4)
include(libjsonc.m4)
include(librdkafka.m4)
include(opencv.m4)
include(dldt-ie.m4)
include(ffmpeg.m4)
OPENCV_REMAKE_VIDEOIO()
include(cleanup.m4)dnl

FROM centos:centos7
LABEL Description="This is the base image for FFMPEG & DLDT CentOS 7.6"
LABEL Vendor="Intel Corporation"
WORKDIR /home

# Prerequisites
include(install.pkgs.m4)

# Install
include(install.m4)
